package com.crm.model.mdao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.crm.model.mpojo.Outgooddetails;
@Mapper
public interface OutgooddetailsMapper {
    int deleteByPrimaryKey(Integer odId);

    int insert(Outgooddetails record);

    int insertSelective(Outgooddetails record);

    Outgooddetails selectByPrimaryKey(Integer odId);

    int updateByPrimaryKeySelective(Outgooddetails record);

    int updateByPrimaryKey(Outgooddetails record);
    
    /**
     * 根据发货编号查询发货详情
     * @param ogId
     * @return
     */
    List<Map<String, String>> selectByOgid(Integer ogId);
}